:root {
	--primary: #3a86ff;
	--secondary: #8338ec;
	--card-bg: #ffffff;
	--text: #2d3748;
	--bg-start: #5d76f7;
	--bg-end: #6dd0f3;
	--muted: #718096;
	--old-version: #f5222d;
	--new-version: #1890ff;
	--accent: #ff006e;
	--warning: #ff9a3c;
	--pre-download: #00ff0a0f;
	--pre-accent: #2e7d32;
}

@font-face {
	font-family: "NotoColorEmoji";
	src: url("../../fonts/NotoColorEmoji.ttf");
}

@font-face {
	font-family: "HYWenHei";
	src: url("../../fonts/HYWenHei-55W.ttf");
}

.emoji-text {
	font-family: "NotoColorEmoji", sans-serif;
	display: inline-block;
	margin-right: 4px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family:
		"HYWenHei",
		-apple-system,
		BlinkMacSystemFont,
		sans-serif;
}

body {
	background: linear-gradient(135deg, var(--bg-start) 0%, var(--bg-end) 100%);
	color: var(--text);
	padding: 20px;
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	overflow-x: hidden;
}

body::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image:
		radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 15%),
		radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.05) 0%, transparent 20%);
	pointer-events: none;
}

.container {
	max-width: 800px;
	width: 100%;
	background: rgba(255, 255, 255, 0.95);
	border-radius: 20px;
	box-shadow:
		0 10px 30px rgba(0, 0, 0, 0.15),
		0 20px 40px rgba(0, 0, 0, 0.1),
		inset 0 0 0 1px rgba(255, 255, 255, 0.5);
	overflow: hidden;
	position: relative;
	z-index: 2;
}

.header-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 200px;
	background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
	z-index: -1;
	clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.header-content {
	padding: 35px 40px 25px;
	position: relative;
	z-index: 2;
}

.header {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}

.game-icon {
	width: 80px;
	height: 80px;
	border-radius: 18px;
	object-fit: cover;
	border: 4px solid rgba(255, 255, 255, 0.7);
	background: white;
	margin-right: 20px;
}

.title-container {
	color: white;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.title {
	font-size: 36px;
	font-weight: 800;
	margin-bottom: 5px;
	letter-spacing: 0.5px;
}

.subtitle {
	font-size: 20px;
	font-weight: 400;
	opacity: 0.92;
}

.update-time {
	background: rgba(255, 255, 255, 0.25);
	border-radius: 10px;
	padding: 8px 15px;
	font-size: 16px;
	margin-top: 15px;
	display: inline-block;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.main-content {
	padding: 20px 40px 30px;
	position: relative;
}

.three-column-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(200px, 1fr));
	gap: 20px;
	margin-bottom: 25px;
}

.cards-container {
	display: flex;
	gap: 20px;
	margin-bottom: 25px;
	justify-content: center;
}

.info-card {
	flex: 1;
	min-width: 210px;
	background: #fff;
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	border: 0px solid #f0f0f0;
	position: relative;
	overflow: hidden;
	transition: transform 0.3s ease;
}

.info-card:hover {
	transform: translateY(-5px);
}

.info-card::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 6px;
	height: 100%;
}

.version-card::after {
	background: var(--new-version);
}

.fullsize-card::after {
	background: var(--primary);
}

.incr-card::after {
	background: var(--warning);
}

.card-title {
	display: flex;
	align-items: center;
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 15px;
	color: #555;
}

.card-title i {
	font-size: 24px;
	margin-right: 10px;
}

.version-card .card-title i {
	color: var(--new-version);
}

.fullsize-card .card-title i {
	color: var(--primary);
}

.incr-card .card-title i {
	color: var(--warning);
}

.pre-card::after {
	background: var(--pre-download);
}

.pre-card .card-title i {
	color: var(--pre-download);
}

.pre-size {
	color: var(--pre-download);
}

.version-display {
	display: flex;
	align-items: center;
	/* 垂直居中 */
	justify-content: center;
	/* 水平居中 */
	font-weight: 500;
}

.old-version {
	color: var(--old-version);
	text-decoration: line-through;
	padding: 5px 10px;
	border-radius: 6px;
	font-size: 20px;
	font-weight: 700;
	background: rgba(245, 34, 45, 0.08);
}

.version-arrow {
	margin: 0 12px;
	font-size: 22px;
	color: var(--primary);
}

.current-version {
	color: var(--new-version);
	background: rgba(24, 144, 255, 0.1);
	padding: 5px 10px;
	border-radius: 6px;
	font-size: 22px;
	font-weight: 700;
	position: relative;
}

.new-version {
	color: var(--new-version);
	background: rgba(24, 144, 255, 0.1);
	padding: 5px 10px;
	border-radius: 6px;
	font-size: 20px;
	font-weight: 700;
	position: relative;
}

.new-version::after {
	content: "NEW";
	position: absolute;
	top: -10px;
	right: -15px;
	background: var(--accent);
	color: white;
	font-size: 10px;
	padding: 3px 8px;
	border-radius: 20px;
	font-weight: bold;
}

.size-value {
	font-size: 26px;
	font-weight: 700;
	text-align: center;
	color: var(--primary);
	margin-top: 5px;
	letter-spacing: 0.5px;
}

.incr-size {
	color: var(--warning);
}

.size-label {
	font-size: 14px;
	color: #777;
	text-align: center;
	margin-top: 8px;
}

.update-prompt {
	font-size: 18px;
	font-weight: 600;
	text-align: center;
	padding: 15px;
	background: rgba(255, 0, 110, 0.05);
	border-radius: 12px;
	color: var(--accent);
}

.update-prompt.pre {
	background: var(--pre-download);
	color: var(--pre-accent);
}

.footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 40px;
	background: rgba(245, 248, 255, 0.8);
	border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.creator-info {
	font-size: 14px;
	color: #718096;
}

.plugin-name {
	color: var(--primary);
	font-weight: 600;
	margin: 0 5px;
	position: relative;
	padding-right: 40px;
	display: inline-block;
}

.plugin-version {
	position: absolute;
	top: -10px;
	right: 0;
	background: #3a86ff;
	color: white;
	font-size: 11px;
	padding: 2px 8px;
	border-radius: 12px;
	font-weight: bold;
	z-index: 1;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
	transform: rotate(4deg);
}

.date-info {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	font-size: 14px;
	color: #718096;
}

@media (max-width: 700px) {
	.three-column-cards {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	body {
		padding: 10px;
	}

	.container {
		max-width: 100%;
	}

	.header-content {
		padding: 25px 20px;
	}

	.main-content {
		padding: 15px 20px 25px;
	}

	.game-icon {
		width: 65px;
		height: 65px;
		margin-right: 15px;
	}

	.title {
		font-size: 28px;
	}

	.subtitle {
		font-size: 18px;
	}

	.new-version::after {
		top: -8px;
		right: -12px;
		font-size: 9px;
		padding: 2px 6px;
	}
}